#include<iostream>
using namespace std;
int  main()
 { int i,sum;
   i=1;sum=0;
   while (i<=100)
   { sum+=i;i++;}
   cout<<"sum="<<sum<<endl;
return 0;
 }